package com.eco.fanliapp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.eco.fanliapp.dao.JdOrderDetailMapper;
import com.eco.fanliapp.entity.JdOrderDetail;
import com.eco.fanliapp.service.IJdOrderDetailService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jobob
 * @since 2020-03-18
 */
@Service
public class JdOrderDetailServiceImpl extends ServiceImpl<JdOrderDetailMapper, JdOrderDetail> implements IJdOrderDetailService {

    @Autowired
    private JdOrderDetailMapper jdOrderDetailMapper;

    @Override
    public JdOrderDetail selectOrderDetailByOrderId(Long orderId,Long skuId) {
        return jdOrderDetailMapper.selectOrderDetailByOrderId(orderId,skuId);
    }
}
